const sync.mutexWoken
8 uses
sync (current package)
mutex.go#L47: mutexWoken
mutex.go#L130: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L131: atomic.CompareAndSwapInt32(&m.state, old, old|mutexWoken) {
mutex.go#L157: if new&mutexWoken == 0 {
mutex.go#L160: new &^= mutexWoken
mutex.go#L179: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
mutex.go#L240: if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 {
mutex.go#L244: new = (old - 1<<mutexWaiterShift) | mutexWoken
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |